package com.hanlink.dsp.model;

import org.xutils.db.annotation.Column;

import java.io.Serializable;

/**
 * <pre>
 *
 *  BTDSP
 *
 *
 *  Copyright (C) 秦智科技有限责任公司版权所有: 2015/10/11
 *
 * Description:
 *
 * Revision History
 * Date			         Author		  Description
 * 2015/10/11        fonhal       初始创建
 *
 * </pre>
 */
public abstract class BaseSettings implements Serializable {

    public static final String REF_ID = "_ref_id";
    public static final String ID = "_id";


    @Column(name = ID, isId = true)
    protected int id = 0;

    @Column(name = REF_ID)
    protected int refId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRefId() {
        return refId;
    }

    public void setRefId(int refId) {
        this.refId = refId;
    }

     public  abstract void resetData()  ;
/*
    @Override
    public String toString() {
        return "BaseSettings{" +
                "id=" + id +
                ", refId=" + refId +
                '}';
    }*/
}
